home *** CD-ROM | disk | FTP | other *** search
- on enterFrame
- global gCuesForVoice, gLabelsForVoiceCues, gCountOfCues, gPreTicksForCue, gNextCueIndex
- set currentTimerTick to the timer
- if gNextCueIndex <= gCountOfCues then
- if currentTimerTick >= (getAt(gCuesForVoice, gNextCueIndex) - gPreTicksForCue) then
- go(getAt(gLabelsForVoiceCues, gNextCueIndex))
- end if
- end if
- end
-